package com.naiterui.ehp.bs.esign.feign;


import com.naiterui.ehp.bp.bo.patient.PatientInquirerBO;
import com.naiterui.ehp.bp.support.config.FeignConfiguration;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author gaoliangliang
 * @date 2019-06-24 14:57
 * @since 1.0.0
 */
@FeignClient(name = "esignAp", url = "${ehp.domain.ap}", configuration = FeignConfiguration.class)
public interface IPatientFeignClient {

    /**
     * 获取就诊人信息
     * @param inquirerIds
     * @return
     * @throws BusinessException
     */
    @PostMapping("inner/patient/inquirer/list")
    List<PatientInquirerBO> getPatientInquirer(@RequestBody List<Long> inquirerIds) throws BusinessException;

}
